package com.project.demo.service.Impl;


import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.demo.entity.Product;
import com.project.demo.mapper.EditProductMapper;
import com.project.demo.mapper.Landmapper;
import com.project.demo.service.editproductService;
import lombok.AllArgsConstructor;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@AllArgsConstructor
public class editproductServiceImpl extends ServiceImpl<EditProductMapper, Product> implements editproductService {

    @Override

    public int update(Product product) {
        return baseMapper.updateById(product);
    }

}